﻿<!DOCTYPE html>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>@ViewBag.Title</title>

<meta name="keywords" content="ocean blue, blog template, free css templates, CSS, HTML" />
<meta name="description" content="Ocean Blue Blog - Free CSS Template provided by templatemo.com" />
	
	<link href="@Url.Content("~/Content/themes/start/jquery-ui-1.9.1.custom.min.css")" rel="stylesheet" type="text/css" />
	<link href="@Url.Content("~/Content/jquery.alerts.css")" rel="stylesheet" type="text/css" />
	<link href="@Url.Content("~/Content/themes/templatemo_307_ocean_blue/templatemo_style.css")" rel="stylesheet" type="text/css" />
	<link href="@Url.Content("~/Content/themes/templatemo_307_ocean_blue/css/jquery.lightbox-0.5.css")" rel="stylesheet" type="text/css" />
	@RenderSection("css", false)

	<script src="@Url.Content("~/Scripts/jquery-1.8.2.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Scripts/jquery-ui-1.9.1.custom.min.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Content/themes/templatemo_307_ocean_blue/script/jquery.nivo.slider.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Content/themes/templatemo_307_ocean_blue/js/jquery.lightbox-0.5.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Scripts/jquery.alerts.js")" type="text/javascript"></script>

	 @RenderSection("js", false)


<script language="javascript" type="text/javascript">
	function clearText(field) {
		if (field.defaultValue == field.value) field.value = '';
		else if (field.value == '') field.value = field.defaultValue;
	}

	$(function () {
		$('#map a').lightBox();
});



</script>

</head>
<body class="subpage">

<div id="templatemo_wrapper">
	<div id="templatemo_header">
		
		<div id="site_title"><h1><a href="#">SILAS</a></h1></div>
		
		<div id="search_box">
			<form action="#" method="get">
				<input type="text" value="Search" name="q" size="10" id="searchfield" title="searchfield" onfocus="clearText(this)" onblur="clearText(this)" />
				<input type="submit" name="Search" value="" id="searchbutton" title="Search" />
			</form>
		</div>
		
		<div class="cleaner"></div>
	</div>
	
	<div id="templatemo_menu">
		<ul>
					<li>@Html.ActionLink("Inicio", "Index", "Home")</li>
					<li>@Html.ActionLink("Acerca de", "About", "Home")</li>

                    @if (@User.IsInRole("Visitante"))
                    { 
                        <li>@Html.ActionLink("Galeria", "Galeria", "Visita")</li>
                    }


                    @if (@User.IsInRole("AdministradorSistema") || @User.IsInRole("AdministradorInformacion"))
                    {
						<li>@Html.ActionLink("Menu Principal", "Menu", "Home")</li>
						<li>@Html.ActionLink("Ingreso de Informacion", "Index", "Sector")</li>
						@*<li>@Html.ActionLink("Sector", "Create", "Sector")</li>*@
						<li>@Html.ActionLink("Manantiales", "Index", "FuenteAgua")</li>						
						@*<li>@Html.ActionLink("Rutas", "Create", "Ruta")</li>*@
						@*<li>@Html.ActionLink("Mapa", "MapaJQuery", "Sector")</li>*@
						<li>@Html.ActionLink("Sector", "ListarSectores", "Sector")</li>
                        <li>@Html.ActionLink("SAPs", "Index", "SAP")</li>
						<li>@Html.ActionLink("JASS", "Index", "JASS")</li>
                        
                    }
	
		</ul>    	
		<div class="cleaner"></div>
	</div> <!-- end of templatemo_menu -->
	
	<div id="templatemo_middle_subpage">
		<h2>SILAS CAJAMARCA</h2>
		<p>SILAS es una plataforma Web que se presenta como
			   una herramienta de gestión de la Información para procesar la data recogida
			   en los diferentes centros poblados que conforman la ciudad de Cajamarca.</p>
  </div>
		
	<div id="templatemo_main">

		@RenderBody()



	</div> <!-- end of main -->
		
</div> <!-- end of wrapper -->

<div id="templatemo_footer_wrapper">
	<div id="templatemo_footer">
		
		Copyright ©2012 <a href="#">Municipalidad Provincial de Cajamarca</a> 
	
	</div> <!-- end of footer wrapper -->
</div> <!-- end of footer -->

</body>
</html>